package com.gupaoedu.design.decorator.upgrade;

import com.gupaoedu.design.decorator.ResultMsg;
import com.gupaoedu.design.decorator.old.ISigninService;

/**
 * <p></p>
 *
 * @author Andy
 * @date 2018/3/20.
 */
public class SignInThirdServer implements ISignInThirdServer {

    private ISigninService signinService;

    public SignInThirdServer(ISigninService signinService) {
        this.signinService = signinService;
    }

    public ResultMsg login(String username, String password) {
        return signinService.login(username, password);
    }

    public ResultMsg register(String username, String password) {
        return signinService.register(username, password);
    }

    public ResultMsg loginForQQ(String openId) {
        return null;
    }

    public ResultMsg loginForWeChat(String openId) {
        return null;
    }

    public ResultMsg loginForTokent(String tokent) {
        return null;
    }

    public ResultMsg loginForRegister(String username, String password) {
        return null;
    }
}
